﻿using Orchard.ContentManagement;
using System;

namespace PmpNetwork.Models
{
    public class WikiArticlePart: ContentPart<WikiArticlePartRecord>
    {
        public int AuthorId
        {
            get { return Record.AuthorId; }
            set { Record.AuthorId = value; }
        }

        public string Name
        {
            get { return Record.Name; }
            set { Record.Name = value; }
        }
        public string NameOnUrl
        {
            get { return Record.NameOnUrl; }
            set { Record.NameOnUrl = value; }
        }
        public string Content
        {
            get { return Record.Content; }
            set { Record.Content = value; }
        }

        public DateTime? CreatedDate
        {
            get { return Record.CreatedDate; }
            set { Record.CreatedDate = value; }
        }

        public DateTime? LastUpdatedDate
        {
            get { return Record.LastUpdatedDate; }
            set { Record.LastUpdatedDate = value; }
        }
        public int TotalViews
        {
            get { return Record.TotalViews; }
            set { Record.TotalViews = value; }
        }
    }
}